import Vue from "vue";
// 引入
import { Search, Swipe, SwipeItem, Toast, Icon, Tag, List, Cell, DropdownMenu, DropdownItem, Grid, GridItem, Col, Row,Empty,Tabbar, TabbarItem,Form,Field,Popup,Button,Dialog,GoodsAction, GoodsActionIcon, GoodsActionButton,Sku,Checkbox, CheckboxGroup ,Card,SubmitBar,Pagination, Stepper,SwipeCell,Lazyload } from "vant";



// import 'vant/lib/button/style';
// import 'vant/lib/stepper/style';
// 注册
Vue.use(Search);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Icon)
Vue.use(Tag);
Vue.use(List);
Vue.use(Cell);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Col);
Vue.use(Row);
Vue.use(Empty);
Vue.use(Toast);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Form);
Vue.use(Field);
Vue.use(Popup);
Vue.use(Button);
Vue.use(Dialog);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Sku);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Card);
Vue.use(SubmitBar);
Vue.use(Pagination);
Vue.use(Stepper);
Vue.use(SwipeCell);
Vue.use(Lazyload, {
    lazyComponent: true,   // 设置懒加载
    loading:require("../assets/loading.gif") // 设置加载时候的图片加载提示
  });
